//
//  EJSSettleGoodsCell.m
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2017/12/19.
//  Copyright © 2017年 lifayu. All rights reserved.
//

#import "EJSSettleGoodsCell.h"

@implementation EJSSettleGoodsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setShoppingCartModel:(EJSShoppingCartGoodsModel *)model{
    [self.goodsImageView setImageWithUrl:model.cover];
    self.countLabel.text = model.num;
    self.goodsPriceLabel.text = model.price;
    self.goodsNameLabel.text = model.spuName;
}

@end
